<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>展示Demo</title>
	<link rel="stylesheet" type="text/css" href="jquery/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="jquery/themes/icon.css">
	<script type="text/javascript" src="jquery/jquery.min.js"></script>
	<script type="text/javascript" src="jquery/jquery.easyui.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$('#dg').datagrid({
				onDblClickRow:function(index,row){
					location.href='manage/showDetail?ip='+row.devip;
				}
			});
		});
	</script>
</head>
<body>
	<h2>基础展示表格</h2>
	<table id="dg" class="easyui-datagrid" title="流量总览表" style="width:100%;height:90%;"
			data-options="singleSelect:true,striped:true,rownumbers:true,fitColumns:true,url:'manage/preview',method:'get'">
		<thead>
			<tr>
				<th data-options="field:'devip',width:100,align:'center'">设备IP</th>
				<th data-options="field:'incoming',width:100,align:'center'">流入流量(KB)</th>
				<th data-options="field:'outgoing',width:100,align:'center'">流出流量(KB)</th>
			</tr>
		</thead>
	</table>
</body>
</html>